package org.opens.entity.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

@Data
public class LotteryStandardDeviationWave {

    private LotteryStandardDeviationWave() {
        // 禁止直接new
    }

    private List<String> xData;

    private List<String> legendData;

    private List<Double> redNum1Sd;

    private List<Double> redNum2Sd;

    private List<Double> redNum3Sd;

    private List<Double> redNum4Sd;

    private List<Double> redNum5Sd;

    private List<Double> redNum6Sd;

    private List<Double> blueNumSd;

    public static LotteryStandardDeviationWave build() {
        LotteryStandardDeviationWave sdWave = new LotteryStandardDeviationWave();
        sdWave.setLegendData(Arrays.asList("红球1", "红球2", "红球3", "红球4", "红球5", "红球6", "篮球"));
        sdWave.setXData(new ArrayList<>());
        sdWave.setRedNum1Sd(new ArrayList<>());
        sdWave.setRedNum2Sd(new ArrayList<>());
        sdWave.setRedNum3Sd(new ArrayList<>());
        sdWave.setRedNum4Sd(new ArrayList<>());
        sdWave.setRedNum5Sd(new ArrayList<>());
        sdWave.setRedNum6Sd(new ArrayList<>());
        sdWave.setBlueNumSd(new ArrayList<>());
        return sdWave;
    }

}
